{if isset($menus)}
	<div>
		Меню<br />
		<select name="block[Properties][menu]">
			{foreach from=$menus item=menu}
				<option {if $block->property('menu')->value == $menu->id}selected="selected" {/if}value="{$menu->id}">{$menu->title}</option>
			{/foreach}
		</select>
	</div>
{/if}
{if isset($tpls) && count($tpls) > 0}
    <div class="tpls">
        Шаблон<br/>
        <select id="block_tpl" name="block[tpl]">
            {foreach from=$tpls item=tpl}
                <option{if $tpl==$block->tpl} selected="selected"{/if} value="{$tpl}">{$tpl}</option>
            {/foreach}
        </select>
    </div>
{/if}